home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows 3-Pak 2 - Disc 2
/
Infomagic - Windows 3-Pak Volume 2 (Disc 2 of 3).iso
/
Chat---IRC
/
TURBOIRC.ZIP
/
data1.cab
/
TurboIRC_Scripts
/
ASWITCHTARGET.txt
< prev
next >
Wrap
Text File
|
1999-05-05
|
548b
|
32 lines
// For +x channels like #helpdesk :)))
// IF you are a sysop however !...
// /SWITCHTARGET nicktoswitch
// Example : /SWITCHTARGET George
// The next message will be seen from
// Channel hosts/owners and George only :)
string Sph = ""
/target $channel
for (int K = 0 ; K < GetNickCount($channel) ; K += 1)
Sph = GetNick($channel,K)
if (Sph==$mynick)
continue
endif
if (GetNickLevel($channel,Sph) > 2)
/target $channel +%Sph%
else
break
endif
endfor
// add the user we specified...
/target $channel +$1